<?php

class OrderType extends Zend_Db_Table_Abstract
{
    protected $_name = 'cms_order_type';
    protected $_primary = 'order_type_id';
    
    public function getOrderTypeById($typeId)
    {
        return $this->fetchRow($this->select()->where('order_type_id = ?', $typeId));
    }
}